package com.ll.domain.ranking.base;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ll.app.api.req.PageRankingReqDTO;
import com.ll.base.dto.PageResultDTO;
import com.ll.dal.po.RankingPO;
import com.ll.dal.po.UserPO;
import com.ll.domain.ranking.dto.RankingDTO;
import com.ll.domain.ranking.enums.RankingStatusEnum;
import com.ll.domain.ranking.enums.RankingTypeEnum;

public interface RankingBaseService extends IService<RankingPO>  {

    Long getRanking(Long tenantId, Long uid, RankingTypeEnum type);

    RankingPO getRankingOne(Long tenantId, Long uid, RankingTypeEnum type, RankingStatusEnum status);

    void authRanking(Long id,Long teacherId,Long sort );

    PageResultDTO<RankingDTO> page(PageRankingReqDTO pageReq);

    void cleanRanking();
}
